lunomobs:register_mob("lunomobs:ravitarbo", {
	mob_name="RAVITARBO",
	type = "monster",
	hp_max = 8, --Padrão = 5
	collisionbox = {-0.4, -0.01, -0.4, 0.4, 3.9, 0.4},
	visual = "mesh",
	mesh = "mobs_tree_monster.x",
	textures = {"mobs_tree_monster.png"},
	--visual_size = {x=4.5,y=4.5},
	visual_size = {x=8,y=8},
	makes_footstep_sound = true,
	view_range = 5,
	walk_velocity = 1,
	run_velocity = 1.5,
	damage = 2,
	drops = {
		{name="default:sapling", chance=3, min=1, max=2,},
		{name="default:junglesapling", chance=3, min=1, max=2,},
		{name="lunorecipes:magicdust", chance=10, min=1, max=2,}, --É um item genérico oferecido por criaturas encantadas.
	},
	light_resistant = true,
	armor = 100,
	drawtype = "front",
	water_damage = 10,
	lava_damage = 10,
	light_damage = 10,
	disable_fall_damage = true, --Não leva dano quando cai do alto
	attack_type = "dogfight",
	animation = {
		speed_normal = 15,
		speed_run = 15,
		stand_start = 0,
		stand_end = 24,
		walk_start = 25,
		walk_end = 47,
		run_start = 48,
		run_end = 62,
		punch_start = 48,
		punch_end = 62,
	},
		sounds = {
		random = "mobs_shout",
		attack = "sword_2",
		hit = "sword_2",
		die = "mobs_shout",
	},

})

lunomobs:register_spawn("lunomobs:ravitarbo", {"default:tree", "default:jungletree", "default:leaves", "default:jungleleaves"}, 3, -1, 3500, 3, 31000)

minetest.register_craftitem("lunomobs:ravitarbo", {
	description = "Ravitarbo", --"Ravita Arbo" Significa "Árvore Encantada" em Esperanto
	groups = { mobs=1 },
	inventory_image = "mob_ravitarbo.png",
	on_place = function(itemstack, placer, pointed_thing)
		if pointed_thing.above then
			minetest.env:add_entity(pointed_thing.above, "lunomobs:ravitarbo")
			if not minetest.setting_getbool("creative_mode") then itemstack:take_item() end
		end
		return itemstack
	end,
})

minetest.register_alias("ravitarbo"	, "lunomobs:ravitarbo")
minetest.register_alias("tree"	, "lunomobs:ravitarbo")
minetest.register_alias("arvore"	, "lunomobs:ravitarbo")
minetest.register_alias("árvore"	, "lunomobs:ravitarbo")
minetest.register_alias("arvoreencantada"	, "lunomobs:ravitarbo")
minetest.register_alias("árvoreencantada"	, "lunomobs:ravitarbo")
